﻿using System;
using System.Collections.Generic;
using System.Text;
using GameCoder.Model;
using GameCoder.DAL;
namespace GameCoder.BLL
{
    public class GameBLL
    {
        public GameItem GetGame(int i)
        {
            return GameDAL.GetGame(i);
        }
        public IList<GameItem> GetGames()
        {
            return GameDAL.GetGames();
        }
        public IList<GroupItem> GetGroups(int i)
        {
            IList<GroupItem> lists = GameDAL.GetGroups(i);
            return lists;
        }
        public GameItem Add(string name)
        {
           return  GameDAL.Add(name);
        }

        public void Delete(int id)
        {
            GameDAL.Delete(id);
        }

        public IList<GameItem> Test()
        {
            return GameDAL.Test();
        }
    }
}
